if (screen.width < 1024){

  link = document.getElementsByTagName("link")[0];

  link.href = "inner800.css";

}